package com.voxel.sense.infomsg.module.user.personal.portrait;

import com.example.com.common.app.BaseContract;

import java.io.File;

/**
 * 个人头像模块
 * Created by ChenYiYao on 2018/4/11.
 */

public interface PortraitContract {
    interface Presenter extends BaseContract.Presenter {
        void doHandlerPhoto(File file);

        void doUploadPortrait(File file);
    }

    interface View extends BaseContract.View<Presenter> {
        void onUploadSuccess(String portraitUrl);

        void onShowClipPhoto(File fiel);
    }

}
